package com.base.cn.platform.os.service.manage.marketing.baseShare;

import com.base.cn.platform.os.service.FeignAuthConfig;
import com.base.cn.platform.os.service.manage.BaseService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * 分享海报接口
 *
 * @author zsw
 * @create 2019-04-18
 */

@FeignClient(value = BaseService.appName,configuration = FeignAuthConfig.class)
public interface MarketingBaseShareService extends BaseService {

    /**
     * 保存海报分享数据
     *
     * @param marketingBaseShare
     * @return
     */
    @RequestMapping(contextPath + "/saveBaseShare")
    Map<String,Object> saveBaseShare(@RequestBody Map<String, Object> marketingBaseShare);

    /**
     * 查询分享海报数据
     *
     * @param marketingBaseShare 查询条件
     * @return
     */
    @RequestMapping(contextPath + "/queryBaseShare")
    Map<String,Object> queryBaseShare(@RequestBody Map<String, Object> marketingBaseShare);

}
